/**
 * Created by json.lu on 2016/4/24.
 */

var bookStoreCtrls=angular.module('bookStoreCtrls',[]);

bookStoreCtrls.controller('HelloCtrl',['$scope',function($scope){
    $scope.greeting={text:'hello'};
}]);
bookStoreCtrls.controller('ListCtrl',['$scope',function($scope){
    $scope.books=[
        {title:'Nodejs权威指南',author:'小飞'},
        {title:'高性能mysql',author:'小马'}
    ]
}]);